package com.photo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author photo
 * @since 2022-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PhComment对象", description="")
public class PhComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "相册的评论id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "评价人")
    private Integer userId;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "相册的id")
    private Integer phId;

    @ApiModelProperty(value = "状态/通过未通过")
    private String status;

    @TableField(exist = false)
    private PhUser phUser;

    @TableField(exist = false)
    private PhPhoto photo;


}
